package com.bxl.chooser.util;

import java.util.concurrent.ThreadLocalRandom;

/**
 * <>
 *
 * @author baixl
 * @date 2021/3/25
 */
public class RandomUtil {
    public static long random(long base, int scope) {
        return (base + ThreadLocalRandom.current().nextInt(1,scope));
    }
}
